//
//  MacroJSFuncKey.h
//  LuQu
//
//  Created by xp on 2017/8/15.
//  Copyright © 2017年 mingthink. All rights reserved.
//

#ifndef MacroJSFuncKey_h
#define MacroJSFuncKey_h

//js回调函数识别键
#define JS_CHOOSE_IMAGE                 @"jsChooseImage"
#define JS_PREVIEW_IMAGE                @"jsPreviewImage"
#define JS_UPLOAD_IMAGE                 @"jsUploadImage"
#define JS_SHOW_PAGE_LOADING            @"jsShowPageLoading"
#define JS_CLOSE_PAGE_LOADING           @"jsClosePageLoading"
#define JS_SCAN_QR_CODE                 @"jsScanQRCode"
#define JS_SHOW_TOAST                   @"jsShowToast"
#define JS_SHOW_TABBAR                  @"jsShowTabBar"
#define JS_SET_POPOVER                  @"jsSetPopover"
#define JS_SHOW_POPOVER                 @"jsShowPopover"
#define JS_SHOW_HEAD                    @"jsShowHead"
#define JS_SET_HEAD_BACK                @"jsSetHeadBack"
#define JS_SET_HEAD_BUTTON_LEFT         @"jsSetHeadButtonLeft"
#define JS_SET_HEAD_BUTTON_RIGHT        @"jsSetHeadButtonRight"
#define JS_SET_HEAD_MENU                @"jsSetHeadMenu"
#define JS_SET_HEAD_BUTTON_ENABLE       @"jsSetHeadButtonEnable"
#define JS_OPEN_VIEW                    @"jsOpenView"
#define JS_START_RECORD                 @"jsStartRecord"
#define JS_STOP_RECORD                  @"jsStopRecord"
#define JS_PLAY_VOICE                   @"jsPlayVoice"
#define JS_PAUSE_VOICE                  @"jsPauseVoice"
#define JS_STOP_VOICE                   @"jsStopVoice"
#define JS_UPLOAD_VOICE                 @"jsUploadVoice"
#define JS_SHOW_REPLY_BOX               @"jsShowReplyBox"
#define JS_HIDE_REPLY_BOX               @"jsHideReplyBox"
#define JS_SET_SHARE_BOX                @"jsSetShareBox"
#define JS_SHOW_SHARE_BOX               @"jsShowShareBox"
#define JS_HIDE_SHARE_BOX               @"jsHideShareBox"
#define JS_LOGIN                       @"jsLogin"
#define JS_LOGOUT                       @"jsLogout"
#define JS_APPLE_RECHARGE               @"jsAppleRecharge"
#define JS_APPLE_SUBSCRIBE              @"jsAppleSubscribe"
#define JS_STOP_SOUND                   @"jsStopSound"
#define JS_SAVE_IMAGE                   @"jsSaveImage"
#define JS_OPEN_SETTING                 @"jsOpenSetting"
#define JS_GO_BACK                      @"jsGoback"
//播放语音相关
#define JS_MUSIC_PLAYER                 @"jsMusicPlayer"
#define JS_MUSIC_PLAY                   @"jsMusicPlay"
#define JS_MUSIC_PAUSE                  @"jsMusicPause"
#define JS_MUSIC_STOP                   @"jsMusicStop"
#define JS_MUSIC_PLAY_STATE             @"jsMusicPlayState"
#define JS_MUSIC_DURATION               @"jsMusicDuration"


#endif /* MacroJSFuncKey_h */
